﻿<UserControl x:Class="Flux.Editor.Controls.LayerManagerPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:controls="clr-namespace:Flux.Editor.Controls"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Background="#4C5F81">
        <Grid.RowDefinitions>
            <RowDefinition Height="32"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0" HorizontalAlignment="Left">
            <xctk:DropDownButton Width="48">
                <Image Source="../Resources/add.png"/>
                <xctk:DropDownButton.DropDownContent>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <controls:ImageButton Grid.Row="0" Image="../Resources/FluxFile.png" ImageWidth="16" ImageHeight="16" Text="Add Tile Layer" ButtonBase.Click="AddTileLayerClick"/>
                    </Grid>
                </xctk:DropDownButton.DropDownContent>
            </xctk:DropDownButton>
        </Grid>
        <TreeView x:Name="layerTree" Grid.Row="1"/>            
    </Grid>
</UserControl>
